package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.IdleAffiliateMaterial;

/**
 * 闲鱼联盟物料Mapper接口
 * 
 * @author ruoyi
 */
public interface IdleAffiliateMaterialMapper 
{
    /**
     * 查询闲鱼联盟物料
     * 
     * @param id 闲鱼联盟物料主键
     * @return 闲鱼联盟物料
     */
    public IdleAffiliateMaterial selectIdleAffiliateMaterialById(Long id);

    /**
     * 查询闲鱼联盟物料列表
     * 
     * @param idleAffiliateMaterial 闲鱼联盟物料
     * @return 闲鱼联盟物料集合
     */
    public List<IdleAffiliateMaterial> selectIdleAffiliateMaterialList(IdleAffiliateMaterial idleAffiliateMaterial);

    /**
     * 新增闲鱼联盟物料
     * 
     * @param idleAffiliateMaterial 闲鱼联盟物料
     * @return 结果
     */
    public int insertIdleAffiliateMaterial(IdleAffiliateMaterial idleAffiliateMaterial);

    /**
     * 修改闲鱼联盟物料
     * 
     * @param idleAffiliateMaterial 闲鱼联盟物料
     * @return 结果
     */
    public int updateIdleAffiliateMaterial(IdleAffiliateMaterial idleAffiliateMaterial);

    /**
     * 删除闲鱼联盟物料
     * 
     * @param id 闲鱼联盟物料主键
     * @return 结果
     */
    public int deleteIdleAffiliateMaterialById(Long id);

    /**
     * 批量删除闲鱼联盟物料
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdleAffiliateMaterialByIds(Long[] ids);
} 